<?php

namespace App\Model\DesignPattern\Creational\Structural\Bridge;

class Careers implements WebPage
{
    protected $theme;

    public function __construct(Theme $theme)
    {
        $this->theme = $theme;
    }

    public function getContent()
    {
        return "Careers页面颜色是{$this->theme->getColor()}";
    }
}
